// 搜索请求模块
import request from '@/utils/request'
/*
获取联想建议
*/ 
export const getSearchSuggestions =(q)=>{
    return request({
        url: '/v1_0/suggestion',
        method: 'GET',
        params:{
            q
        }
    })
}
/*
获取联想建议
*/ 
export const getSearchResult =(params)=>{
    return request({
        url: '/v1_0/search',
        method: 'GET',
        params
    })
}